package icu.makka.yygh.user.client;

import icu.makka.yygh.model.user.Patient;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Repository;
import org.springframework.web.bind.annotation.*;

@FeignClient(value = "service-user")
@Repository
public interface PatientFeignClient {

    /**
     * 获取就诊人信息
     * @param id
     * @return
     */
    @PostMapping(value = "/api/user/patient/inner/get/{id}")
    Patient getPatientFromOrder(@PathVariable("id") Long id);
}
